package com.haizhi.crm.sys.auth.service;

import com.haizhi.crm.common.model.Response;
import com.haizhi.crm.sys.auth.model.UpdatePasswordQo;
import com.haizhi.crm.sys.auth.model.UserQo;

/**
 * Created by chengmo on 2018/5/15.
 */
public interface UserService {

    Response save(UserQo userQo);

    Response detail();

    Response updatePassword(UpdatePasswordQo updatePasswordQo);

    void reloadPermission();

    Response findPermissions(Long parentId, String companyKey);

    Response findByName(String name);

    Response confirmPassword(String password);
}
